home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 September (Japanese) / CICA Shareware for Windows CD-ROM (Walnut Creek) (September 1995) (Japanese) (Disc 2).iso / disc2 / nt / ntperf.exe / PERFTOOLS / PROBE / README.TXT
Encoding:
Text File  |  1993-09-07  |  4.1 KB  |  109 lines

  1.  
  2.  
  3.                            Optimizing Windows NT
  4.  
  5.                               Response Probe
  6.  
  7.  
  8. 1.  Overview
  9.  
  10.     This directory tree contains the Response Probe for the x86, MIPS,
  11.     and Alpha platforms.  The principle documentation for the Response 
  12.     Probe is in Appendix C of the book "Optimizing Windows NT."  
  13.     This file explains what is on this floppy disk.
  14.  
  15.  
  16. 2.  Directory Organization
  17.  
  18.     This directory has three sub-directories.  "i386" contains the x86
  19.     executable files, "MIPS" contains the MIPS executable files, 
  20.     "ALPHA" contains the ALPHA executable files, and "EXAMPLE" contains 
  21.     an example of Response Probe usage.
  22.  
  23.  
  24. 3.  i386 & MIPS & ALPHA
  25.  
  26.     Depending on which platform you are on, you should add the
  27.     corresponding directory to your path.  Alternatively, you can copy
  28.     the files from the corresponding directory into a directory on your
  29.     path.
  30.  
  31.     A.  Response Probe
  32.  
  33.         The file PROBE.EXE becomes the main controlling process for the 
  34.         Response Probe.  The file PROBEPRC.EXE is the child process
  35.         which actually applies the workload.  You should copy this file
  36.         to files with different names in order to see multiple processes
  37.         separately in Performance Monitor.  This techniques is discussed
  38.         in Appendix C of "Optimizing Windows NT".  TIMERW32 and STATW32 
  39.         are .dll's which are used by the Response Probe to perform timing
  40.         functions.  PROBE, TIMERW32, and STATW32, as well as PROBEPRC and
  41.         any copies of it you have made under new names, must all be on your 
  42.         PATH in order for the Response Probe to run.
  43.  
  44.     B.  CREATFIL
  45.  
  46.         The CREATFIL utlity creates a file of arbitrary size filled with
  47.         binary zeros.  You specify the file size you need in kilbytes, 
  48.         where 1 kilobyte is equal to 1024 bytes.
  49.  
  50.         Usage:
  51.  
  52.             creatfil  <NewFileName>  <size in kbytes>
  53.  
  54.     Example:
  55.  
  56.             creatfil  access.dat  1024
  57.  
  58.     This example create a file called access.dat filled with 1 megabyte 
  59.         of binary zero bytes.
  60.  
  61.     C.  WAIT
  62.  
  63.         WAIT is a simple utility used to pause execution of a test.  Such pauses 
  64.         permit system functions such as the lazy writer to complete operation
  65.         from a prior test before beginning a new one.  Wait will sound 5 beeps
  66.         at the start of the pause, and one at the end.  This will help you 
  67.         perform any manual activities you might need to carry out during the
  68.         pause.  The beep time is included as a portion of the pause time and
  69.         does not add to it as long as the pause time is at least 3 seconds.
  70.  
  71.         Usage:
  72.  
  73.             wait  <pause time in seconds>              
  74.  
  75. 4.  Example
  76.  
  77.     This example is a brief sample of how to set up and run a Response
  78.     Probe experiment.  There is a batch file for running the
  79.     experiment, and the parameter files are explained in Appendix C of
  80.     the book.  All the above programs are used in this example.
  81.  
  82.     The example creates four processes.  They all have the name
  83.     probeprc.  As explained in above, if you want to look at them
  84.     separately in Performance Monitor, you must copy PROBEPRC.EXE to
  85.     four new file names, and reference those in the *.SCR files
  86.     instead of PROBEPRC.EXE.
  87.  
  88.     Each process creates four threads.
  89.  
  90.     Each thread has an average 1-second think time.  It does an
  91.     average of 100 read/write operations, where each operation
  92.     consists of an unbuffered read followed by an unbuffered
  93.     write.  After each read/write pair, it does an average of 10
  94.     milliseconds of computation.  During that time it references an
  95.     average of 1 MB of "code" space and 1 MB of data space.  The file
  96.     and code space are shared, but the data space is private to each
  97.     of the four processes.
  98.  
  99.     This example uses many of the Response Probe features and should
  100.     give you a good basis for devising whatever experiments you might
  101.     need.
  102.  
  103.     Usage:
  104.  
  105.         doprobe [testtime]
  106.  
  107.     where "testtime" is the length of time to run each of the four
  108.     record sizes ( the default is 5 minutes).
  109.